<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>tennisScore.Controller</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="tennisScore-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            >tennisScore</th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="tennisScore-module.html">Module&nbsp;tennisScore</a> ::
        Class&nbsp;Controller
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="tennisScore.Controller-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class Controller</h1><p class="nomargin-top"><span class="codelink"><a href="tennisScore-pysrc.html#Controller">source&nbsp;code</a></span></p>
<p>The controller for a tennis scoreboard program.</p>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Instance Methods</span></td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="tennisScore.Controller-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">root</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="tennisScore-pysrc.html#Controller.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="initTennisView"></a><span class="summary-sig-name">initTennisView</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Initializes the scoreboard in the View class.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="tennisScore-pysrc.html#Controller.initTennisView">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="tennisScore.Controller-class.html#gameScoreChanged" class="summary-sig-name">gameScoreChanged</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">gameScore</span>)</span><br />
      Updates the game score in scoreboard.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="tennisScore-pysrc.html#Controller.gameScoreChanged">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="tennisScore.Controller-class.html#setChanged" class="summary-sig-name">setChanged</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">currentSet</span>)</span><br />
      Updates the set number for scoreboard.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="tennisScore-pysrc.html#Controller.setChanged">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="tennisScore.Controller-class.html#setScoreChanged" class="summary-sig-name">setScoreChanged</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">setScore</span>)</span><br />
      Updates the set score in scoreboard.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="tennisScore-pysrc.html#Controller.setScoreChanged">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="tennisScore.Controller-class.html#messageChanged" class="summary-sig-name">messageChanged</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">message</span>)</span><br />
      Updates the message to be displayed on the scoreboard.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="tennisScore-pysrc.html#Controller.messageChanged">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="tennisScore.Controller-class.html#serverChanged" class="summary-sig-name">serverChanged</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">server</span>)</span><br />
      Updates which team / player is serving.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="tennisScore-pysrc.html#Controller.serverChanged">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="tennisScore.Controller-class.html#teamChanged" class="summary-sig-name">teamChanged</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">team</span>)</span><br />
      Updates the Team objects and their scoreboard names.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="tennisScore-pysrc.html#Controller.teamChanged">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="tennisScore.Controller-class.html#winnerNamed" class="summary-sig-name">winnerNamed</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">winner</span>)</span><br />
      Sets the winning team for the current match.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="tennisScore-pysrc.html#Controller.winnerNamed">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="tennisScore.Controller-class.html#tiebreakChanged" class="summary-sig-name">tiebreakChanged</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">tiebreak</span>)</span><br />
      Updates whether currently in a tiebreak.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="tennisScore-pysrc.html#Controller.tiebreakChanged">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="tennisScore.Controller-class.html#incrementGameScore" class="summary-sig-name">incrementGameScore</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">team</span>)</span><br />
      Increments the current game score by one for the scoring team.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="tennisScore-pysrc.html#Controller.incrementGameScore">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="tennisScore.Controller-class.html#singles" class="summary-sig-name">singles</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Interprets first setup dialog.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="tennisScore-pysrc.html#Controller.singles">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="tennisScore.Controller-class.html#setup2" class="summary-sig-name">setup2</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Interprets second setup dialog.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="tennisScore-pysrc.html#Controller.setup2">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="reshowSetup3"></a><span class="summary-sig-name">reshowSetup3</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Clears and reshows the third setup dialog.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="tennisScore-pysrc.html#Controller.reshowSetup3">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="tennisScore.Controller-class.html#startMatch" class="summary-sig-name">startMatch</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Starts the match.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="tennisScore-pysrc.html#Controller.startMatch">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Method Details</span></td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">root</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="tennisScore-pysrc.html#Controller.__init__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>root</code></strong> (Toplevel widget) - Main application window.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="gameScoreChanged"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">gameScoreChanged</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">gameScore</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="tennisScore-pysrc.html#Controller.gameScoreChanged">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Updates the game score in scoreboard.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>gameScore</code></strong> (list of integers) - The current game score.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="setChanged"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">setChanged</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">currentSet</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="tennisScore-pysrc.html#Controller.setChanged">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Updates the set number for scoreboard.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>currentSet</code></strong> (integer) - The current set (0 = first set).</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="setScoreChanged"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">setScoreChanged</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">setScore</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="tennisScore-pysrc.html#Controller.setScoreChanged">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Updates the set score in scoreboard.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>setScore</code></strong> (list of integers) - The current set score.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="messageChanged"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">messageChanged</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">message</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="tennisScore-pysrc.html#Controller.messageChanged">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Updates the message to be displayed on the scoreboard.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>message</code></strong> (string) - The message to be displayed on the scoreboard.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="serverChanged"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">serverChanged</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">server</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="tennisScore-pysrc.html#Controller.serverChanged">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Updates which team / player is serving.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>server</code></strong> (integer) - The number of the team / player now serving.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="teamChanged"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">teamChanged</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">team</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="tennisScore-pysrc.html#Controller.teamChanged">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Updates the Team objects and their scoreboard names.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>team</code></strong> (list of Team objects) - The Team objects for the current match.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="winnerNamed"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">winnerNamed</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">winner</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="tennisScore-pysrc.html#Controller.winnerNamed">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Sets the winning team for the current match. Shows message, and 
  photo(s).</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>winner</code></strong> (integer) - The number of the winning team / player.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="tiebreakChanged"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">tiebreakChanged</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">tiebreak</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="tennisScore-pysrc.html#Controller.tiebreakChanged">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Updates whether currently in a tiebreak.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>tiebreak</code></strong> (boolean) - Flag, True if currently in a tiebreak.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="incrementGameScore"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">incrementGameScore</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">team</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="tennisScore-pysrc.html#Controller.incrementGameScore">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Increments the current game score by one for the scoring team.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>team</code></strong> (integer) - The scoring team.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="singles"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">singles</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="tennisScore-pysrc.html#Controller.singles">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Interprets first setup dialog. Determines whether the current match is
  singles or doubles. Also, presents next setup dialog.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="setup2"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">setup2</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="tennisScore-pysrc.html#Controller.setup2">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Interprets second setup dialog. Determines mens / womens / mixed 
  match. Whether end on tiebreak. Also, presents next setup dialog.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="startMatch"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">startMatch</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="tennisScore-pysrc.html#Controller.startMatch">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Starts the match. Interprets third setup dialog. Player names, number 
  of sets, ending tiebreak. Creates scoring buttons. Initializes 
  scoreboard.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="tennisScore-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            >tennisScore</th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Sun Nov  9 17:23:06 2014
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
